<?php 
header("Content-type:text/html;charset=utf-8");
//获取get参数
$c = $_GET['c'];
$m = $_GET['m'];
echo $c.','.$m.'<br>';
$classname = ucfirst($c).'Controller';//首字母大写
echo $classname;
require "$classname.php";
$Ctrl = new $classname();
$Ctrl->$m();

?>